<div id="main">
<div class="clearfix">
  <div class="crumbs">
    <a href="/forums">论坛首页</a> <span class="arrow">&rarr;</span>
    <a href="/forums/board/Ruby">Ruby版</a> <span class="arrow">&rarr;</span>

    <a href="/forums/tag/rails">rails</a> <span class="arrow">&rarr;</span>
    <h1>Ruby on Rails注册激活系统</h1>
  </div>
</div>

<div id="forum_tag_list">
  <a href='/forums/board/Ruby'>全部</a>
      <a href='/forums/tag/ruby'>ruby</a>

      <a href='/forums/tag/rails'>rails</a>
      <a href='/forums/tag/rake'>rake</a>
      <a href='/forums/tag/DSL'>DSL</a>
      <a href='/forums/tag/RJS'>RJS</a>
      <a href='/forums/tag/YAML'>YAML</a>
  </div>

<div class="actions">
  <div class="buttons"><a href='/forums/40/topics/181703/posts/new' class='new_post' title='发表回复'>&nbsp;</a></div>
  <div class="wrapper">
    <div id="forum_advert_b0"></div>
    
    <div class="info">浏览 150 次</div>
  </div>
</div>



<table id="forum_main" cellspacing="1">
  <thead>
    <tr>
      <th colspan="2" class="topic_title">
        <div class="wrapper"> <a href="/topic/181703"><%=@ltft.zt%></a></div>
        <div id='topic_rate_box'>精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (6)</div>
      </th>
    </tr>

    <tr>
      <td class="first_col">作者</td>
      <td class="last_col">正文</td>
    </tr>
  </thead>
  <tbody id="posts">
    <tr id="p_513965">
  <td class="postauthor">

    <ul>
      <li class="name">fruition</li>
      <li>等级: 初级会员</li>
      <li><a href='http://fruition.javaeye.com' target='_blank'><img alt="用户头像" src="http://www.javaeye.com/images/user-logo.gif?1194185304" title="fruition的博客: fruition" /></a></li>
      <li>性别: <img src="/images/icon_minigender_2.gif" title="女"/></li>
      <li>文章: 1</li>
      <li>积分: 10</li>
      <li>来自: 杭州</li>
      <li><img src='/images/status/offline.gif'/></li>
    </ul>
  </td>
  <td class="postcontent">
    <div class="postactions">
      <div class="description">时间：昨天 关键字: <strong><%=@ltft.zt%></strong></div>

      <div class="links">
        <a href='/forums/40/topics/181703/posts/513965/quote'>引用</a>
        <a href='http://msnvip.javaeye.com/admin/user_favorites?user_favorite%5Btitle%5D=Ruby+on+Rails%E6%B3%A8%E5%86%8C%E6%BF%80%E6%B4%BB%E7%B3%BB%E7%BB%9F&amp;user_favorite%5Burl%5D=http%3A%2F%2Fwww.javaeye.com%2Ftopic%2F181703' target="_blank">收藏</a>
      </div>     
    </div>
    <div class="postbody clearfix"> 
     <%=@ltft.nr%>
                      </div>
    
      <div id="topic_copyright">声明：JavaEye文章版权属于作者，受法律保护。没有作者书面许可不得转载。 </div>
      <div id="forum_advert_b3">
        <span>推荐链接</span>
        <ul class='adverts'><li><a href='/adverts/58' target='_blank'>IBM受欢迎信息管理软件下载推荐</a></li></ul>
      </div>

      </td>
</tr>
<tr>
  <td class="postauthor"><a href="#">返回顶楼</a></td>
  <td class="postcontent">
    <div class="icons">
      <a href='http://fruition.javaeye.com' class='icon_www' title='浏览作者的博客'>&nbsp;</a>
      <a href='http://fruition.javaeye.com/blog/profile' class='icon_profile' title='浏览作者资料'>&nbsp;</a>
      <a href='http://msnvip.javaeye.com/admin/messages/new?message%5Breceiver_name%5D=fruition' class='icon_pm' title='发送站内短信'>&nbsp;</a>

    </div>
                        
  </td>
</tr>

<%for lthf in @lthfs %>

<tr class="sep2"><td colspan="2"></td></tr><tr id="p_514686">
  <td class="postauthor">
    <ul>
      <li class="name">tangzy001</li>
      <li>等级: <img src="/images/star1.gif" alt="一星会员" title="一星会员"/></li>
      <li><a href='http://tangzy001.javaeye.com' target='_blank'><img alt="用户头像" src="http://www.javaeye.com/upload/logo/user/11711/0372751f-ebb1-31bd-977a-69c39ddae601.jpg?1199499235" title="tangzy001的博客: tangzy001" /></a></li>

      <li>性别: <img src="/images/icon_minigender_1.gif" title="男"/></li>
      <li>文章: 5</li>
      <li>积分: 109</li>
      <li>来自: 江苏</li>
      <li><img src='/images/status/offline.gif'/></li>
    </ul>
  </td>

  <td class="postcontent">
    <div class="postactions">
      <div class="description">时间：20 小时前 </div>
      <div class="links">
        <a href='/forums/40/topics/181703/posts/514686/quote'>引用</a>
        <a href='http://msnvip.javaeye.com/admin/user_favorites?user_favorite%5Btitle%5D=%E5%9B%9E%E5%A4%8D%3A+Ruby+on+Rails%E6%B3%A8%E5%86%8C%E6%BF%80%E6%B4%BB%E7%B3%BB%E7%BB%9F&amp;user_favorite%5Burl%5D=http%3A%2F%2Fwww.javaeye.com%2Fpost%2F514686' target="_blank">收藏</a>
        <a href='http://msnvip.javaeye.com/admin/blogs/new_from_post?id=514686'>收入博客</a>
      </div>
    </div>
    <div class="postbody clearfix"> 
      <%=lthf.nr%>
    </div>
      </td>
</tr>
<%end%>
<tr>
  <td class="postauthor"><a href="#">返回顶楼</a></td>
  <td class="postcontent">

    <div class="icons">
      <a href='http://tangzy001.javaeye.com' class='icon_www' title='浏览作者的博客'>&nbsp;</a>
      <a href='http://tangzy001.javaeye.com/blog/profile' class='icon_profile' title='浏览作者资料'>&nbsp;</a>
      <a href='http://msnvip.javaeye.com/admin/messages/new?message%5Breceiver_name%5D=tangzy001' class='icon_pm' title='发送站内短信'>&nbsp;</a>
    </div>
    <div id='post_rate_box_514686' class='post_rate_box'>初级会员无法投票</div>                    
  </td>
</tr>
<tr class="sep2"><td colspan="2"></td></tr>
  </tbody>

</table>


<div class="actions">
  <div class="buttons"><a href='/forums/40/topics/181703/posts/new' class='new_post' title='发表回复'>&nbsp;</a></div>
  <div class="wrapper"></div>
</div>

<div>
  <div class="crumbs">
    <a href="/forums">论坛首页</a> <span class="arrow">&rarr;</span>

    <a href="/forums/board/Ruby">Ruby版</a>
     <span class="arrow">&rarr;</span> <a href='/forums/tag/rails'>rails</a>
    <br/><br/>跳转论坛:<select id="forum_urlname" name="forum[urlname]" onchange="window.location='/forums/board/'+this.value"><option value="Java">Java</option>
<option value="Ruby" selected="selected">Ruby</option>
<option value="AJAX">AJAX</option>
<option value="dotnet">Microsoft .Net</option>

<option value="Tech">综合技术</option>
<option value="New">入门讨论</option>
<option value="Agile">软件开发和项目管理</option>
<option value="Industry">行业解决方案</option>
<option value="company">厂商论坛</option>
<option value="Job">招聘求职</option>
<option value="Life">海阔天空</option></select>
    <div id="forum_advert_b2"><span>JavaEye推荐</span><ul class='adverts'></ul></div>

  </div>

  
  <div class="quick_reply">


<% form_for @ltft, :url => { :action => 'create_lthf' }do |f| %>
  <input type="hidden" name="ltft_id" value="<%=@ltft.id%>"/>
  <p>
    <textarea class="required bad-words min-length-5" cols="40"  name="lthf[nr]" rows="20"></textarea>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<%end%>
<!--
    <form action="/topic/181703" id="quick_reply_form" method="post" onsubmit="return false;"> 
        <input type="hidden" name="bbcode" value="true"/>
        <span><strong>快速回复</strong></span>
        <span>
            <input type="checkbox" name="quote_post_id" value="514686" id="quote_post_id"/>
            引用上一条消息
        </span>
        <span class="last">
            (Alt+S) 
            <input class="submit" id="quick_reply_button" name="commit" type="submit" value="提交" />
        </span>
      <textarea class="required bad-words min-length-5" cols="40" id="post_body" name="post[body]" rows="20">
        
      </textarea><br />

    </form>
    -->
    <script type="text/javascript">
      shortcut.add("Alt+S",function() {
        ValidationUtils.fireSubmit("quick_reply_form");
      });

      new Validation("quick_reply_form", {immediate: false, onFormValidate: function(result, form){
        
        if(result) {
          new Ajax.Request('/forums/40/topics/181703/posts', {
            onSuccess:function(response){
              $('posts').insert(response.responseText);
              $('post_body').value = "";
              $('_form_spinner_').hide();
            }, parameters:Form.serialize(form)
          });
        }
        
      }});
    </script>
  </div>
  
</div>

<div style="display:none">
  <form action="/posts/rate" id="post_rate_form" method="post" onsubmit="new Ajax.Request('', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;">
    <input type="hidden" id="post_rate_id" name="id"/>
    <input type="hidden" id="post_rate_type" name="type"/>

  </form>	
</div>

<script type="text/javascript">
  dp.SyntaxHighlighter.ClipboardSwf = '/javascripts/syntaxhighlighter/clipboard.swf';
  dp.SyntaxHighlighter.HighlightAll('code', true, true);
  
  fix_image_size($$('div.postbody img'), 760);

  function rate_post(id, type) {
    Element.update('post_rate_box_' + id, '提交中...');
    new Ajax.Request('/posts/rate', {asynchronous:true, evalScripts:true, parameters:{"id":id, "type":type}});	
  }

  function rate_topic(type) {
    Element.update('topic_rate_box', '提交中...');
    new Ajax.Request('/topics/rate', {asynchronous:true, evalScripts:true, parameters:{"id":181703, "type":type}});
  }

        
</script>
        </div>
       

